package com.gxgy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * @description: 教师表
 * @author: Qin Fengang
 * @date: 2021-11-11
 */
@TableName("teacher")
public class Teacher {
	
	//教师表编号
	public final static String ID = "id";
	@TableId
	private String id;
	
	//教师工号 
	public final static String TEACHER_NUMBER = "teacher_number";
	@TableField("teacher_number")
	private String teacherNumber;
	
	// 教师姓名
	public final static String TEACHER_NAME = "teacher_name";
	@TableField("teacher_name")
	private String teacherName;
	
	//教师性别
	public final static String TEACHER_SEX = "teacher_sex";
	@TableField("teacher_sex")
	private String  teacherSex;
	
	//  教师年龄
	public final static String TEACHER_AGE = "teacher_age";
	@TableField("teacher_age")
	private Integer  teacherAge;
	
	// 创建时间
	public final static String TEACHER_TIME = "create_time";
	@TableField("create_time")
	private String createTime;

	public Teacher() {
		super();
	}

	public Teacher(String id, String teacherNumber, String teacherName, String teacherSex, Integer teacherAge,
			String createTime) {
		super();
		this.id = id;
		this.teacherNumber = teacherNumber;
		this.teacherName = teacherName;
		this.teacherSex = teacherSex;
		this.teacherAge = teacherAge;
		this.createTime = createTime;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTeacherNumber() {
		return teacherNumber;
	}

	public void setTeacherNumber(String teacherNumber) {
		this.teacherNumber = teacherNumber;
	}

	public String getTeacherName() {
		return teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public String getTeacherSex() {
		return teacherSex;
	}

	public void setTeacherSex(String teacherSex) {
		this.teacherSex = teacherSex;
	}

	public Integer getTeacherAge() {
		return teacherAge;
	}

	public void setTeacherAge(Integer teacherAge) {
		this.teacherAge = teacherAge;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}


	@Override
	public String toString() {
		return "Teacher [id=" + id + ", teacherNumber=" + teacherNumber + ", teacherName=" + teacherName
				+ ", teacherSex=" + teacherSex + ", teacherAge=" + teacherAge + ", createTime=" + createTime + "]";
	}
	
	

}
